package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.NoticeSetDao;
import com.bdzl.pub.entity.sys.NoticeSetDO;
import com.bdzl.admin.service.sys.NoticeSetService;



@Service
public class NoticeSetServiceImpl implements NoticeSetService {
	@Autowired
	private NoticeSetDao noticeSetDao;
	
	@Override
	public NoticeSetDO get(Integer nsId){
		return noticeSetDao.get(nsId);
	}
	
	@Override
	public List<NoticeSetDO> list(Map<String, Object> map){
		return noticeSetDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return noticeSetDao.count(map);
	}
	
	@Override
	public int save(NoticeSetDO noticeSet){
		return noticeSetDao.save(noticeSet);
	}
	
	@Override
	public int update(NoticeSetDO noticeSet){
		return noticeSetDao.update(noticeSet);
	}
	
	@Override
	public int remove(Integer nsId){
		return noticeSetDao.remove(nsId);
	}
	
	@Override
	public int batchRemove(Integer[] nsIds){
		return noticeSetDao.batchRemove(nsIds);
	}
	
}
